package typeCheck;

public class ArrayType extends Type {
    private final Type elementType;
    public ArrayType(String name, Type elementType) {
        super(name, TypeEnum.ARRAY);
        this.elementType = elementType;
    }

    public Type getElementType() {
        return elementType;
    }
}
